import request from '@/utils/request'

// 统计过卡记录数据
export function listGatherList(query) {
  return request({
    url: '/kmwlpts/statistics/getGatherData',
    method: 'get',
    params: query
  })
}

// 导出过卡统计数据列表
export function exportGatherList(query) {
  return request({
    url: '/kmwlpts/statistics/exportGatherList',
    method: 'get',
    params: query
  })
}

// 统计通关货物数据
export function listGoodsStatistics(query) {
  return request({
    url: '/kmwlpts/statistics/getTotalGoodsWt',
    method: 'get',
    params: query,
    timeout: 60000
  })
}


// 导出通关货物数据
export function exportTotalGoodsWt(query) {
  return request({
    url: '/kmwlpts/statistics/exportTotalGoodsWt',
    method: 'get',
    params: query,
    timeout: 60000
  })
}


// 统计单证类型数量数据
export function listGbillsTypeStatistics(query) {
  return request({
    url: '/kmwlpts/statistics/gbillsType',
    method: 'get',
    params: query,
    timeout: 60000
  })
}


// 导出单证类型数量数据
export function exportGbillsType(query) {
  return request({
    url: '/kmwlpts/statistics/exportGbillsType',
    method: 'get',
    params: query,
    timeout: 60000
  })
}

// 统计单证类型数量数据
export function listGManifestTypeStatistics(query) {
  return request({
    url: '/kmwlpts/statistics/gManifestTypeList',
    method: 'get',
    params: query
  })
}


// 导出单证类型数量数据
export function exportGManifestType(query) {
  return request({
    url: '/kmwlpts/statistics/exportGbillsType',
    method: 'get',
    params: query
  })
}

// 统计货值、货重、车辆数数据
export function listPriceVeGoodsWtStatistics(query) {
  return request({
    url: '/kmwlpts/statistics/priceVeGoodsWt',
    method: 'get',
    params: query,
    timeout: statistics_timeout
  })
}

// 导出货值、货重、车辆数数据
export function exportPriceVeGoodsWt(query) {
  return request({
    url: '/kmwlpts/statistics/exportPriceVeGoodsWt',
    method: 'get',
    params: query,
    timeout: statistics_timeout
  })
}

// 统计通关货物数据
export function listGoodsThroughStatistics(query) {
  return request({
    url: '/kmwlpts/statistics/goodsAndWt',
    method: 'get',
    params: query,
    timeout: statistics_timeout
  })
}

// 导出通关货物数据
export function exportGoodsThrough(query) {
  return request({
    url: '/kmwlpts/statistics/exportGoodsAndWt',
    method: 'get',
    params: query,
    timeout: statistics_timeout
  })
}

// 统计通关货值数据
export function listGoodsPriceStatistics(query) {
  return request({
    url: '/kmwlpts/statistics/goodsPrice',
    method: 'get',
    params: query,
    timeout: statistics_timeout
  })
}

// 导出通关货值数据
export function exportGoodsPrice(query) {
  return request({
    url: '/kmwlpts/statistics/exportGoodsPrice',
    method: 'get',
    params: query,
    timeout: statistics_timeout
  })
}
